/**
*@Author: zt
*@Description: 会议室
*@Date 2024-09-26
*/

import request from '@/http'

// 列表分页查询
export const page = async (data?: object) => {
    return await request.post({
      url: '/api/bizz/admTConference/page',
      data: data
    })
  }



// 新增
export const add = async (data: object) => {
    return await request.post({
      url: '/api/bizz/admTConference',
      data: data,
    })
  }



  // 删除
export const del = async (data: Array<any>) => {
  return await request.post({
    url: '/api/bizz/admTConference/delete',
    data,
    headersType: 'application/x-www-form-urlencoded'
  })
}


// 单体查询
export const query = async (data: object) => {
  return await request.get({
    url: '/api/bizz/admTConference/'+ data
  })
}


// 更新
export const update = async (data: object) => {
  return await request.post({
    url: '/api/bizz/admTConference/update',
    data: data
  })
}


// 查询会议室使用情况
export const SelectUse = async (data: object) => {
  return await request.post({
    url: '/api/bizz/admTConference/selectConferenceInUse',
    data,
    headersType: 'application/x-www-form-urlencoded'
  })
}